﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OOAD_Project_Engine.Foundation.Interfaces;
using System.Reflection;

namespace OOAD_Project_Engine.Domain.Factories
{
    public sealed class EntityComponentFactory : Factory
    {
        public static IEntityComponent CreateComponent(Type type, params object[] parameters)
        {
            IEntityComponent component = Create(type, parameters) as IEntityComponent;
            return component;
        }
    }
}
